<template>
    <view class="content">分包页面1121212</view>
</template>

<script setup lang="ts">
import { ref } from 'vue';
import { onLoad, onReady } from '@dcloudio/uni-app';
const params = ref();
onLoad((option) => {
    params.value = JSON.parse(decodeURIComponent(option.params));
});
onReady(() => {
    // 设置导航栏的名称
    uni.setNavigationBarTitle({
        title: params.value.name || ''
    });
});
</script>

<style lang="scss" scoped></style>
